//
//  FZDesApi.m
//  FZEnDecode
//
//  Created by 李雷川 on 2019/6/11.
//  Copyright © 2019 李雷川. All rights reserved.
//

#import "FZDesApi.h"
#import "FZEnDecode.hpp"
@implementation FZDesApi
+(BOOL)decodeWithFilePath:(NSString *)filePath{
    bool ret = false;
    ret = decode([filePath UTF8String]);
    
    if (ret) {
        return YES;
    }
    
    return NO;
}
+(BOOL)encodeWithFilePath:(NSString *)filePath{
    bool ret = false;
    ret = encode([filePath UTF8String]);
    if (ret) {
        return YES;
    }
    
    return NO;
}
@end
